package com.neu.fenli2023623.service;

import com.neu.fenli2023623.dto.UserDto;
import com.neu.fenli2023623.entity.User;
import com.neu.fenli2023623.vo.RightVo;
import com.neu.fenli2023623.vo.UserVo;

import java.util.List;

public interface UserService {
    User Login(UserDto user);
    List<RightVo> selectRightByAccount(String account,Integer parentId);
    List<UserVo> selectAll(UserDto userDto);
    int insertSelective(User record);
    int del(Long id);
    int update(User user);
    User selectByAccount(String account);
    String[] selectPermissionByAccount(String account);
    String[] selectRoleByAccount(String account);
    List<UserVo> selectExportData(UserDto userDto);
}
